minios: clean up allocation of char arrays used for xenbus paths
authorMatt Wilson <msw@amazon.com>
Fri, 6 Sep 2013 19:52:05 +0000 (12:52 -0700)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 10 Sep 2013 09:55:05 +0000 (10:55 +0100)
commit83789acac046c93170f00c1c8fc2c1452ff315a1
tree2a8e1fb9f8f5f2d775b1444b24b4ab564f2241d2
parentf949cbbeda5dea85810de9eee7613add709e9e91
minios: clean up allocation of char arrays used for xenbus paths

This patch cleans up instances of char array allocation where string
lengths were manually counted to use strlen() instead. There are no
functional changes in this patch.

Signed-off-by: Matt Wilson <msw@amazon.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-By: Samuel Thibault <samuel.thibault@ens-lyon.org>
extras/mini-os/blkfront.c
extras/mini-os/console/xenbus.c
extras/mini-os/fbfront.c
extras/mini-os/netfront.c
extras/mini-os/pcifront.c